﻿using BootstrapBlazor.Components;
using Microsoft.AspNetCore.Components;

namespace WtmBlazorUtils;

public partial class View
{
    /// <summary>
    /// 获得/设置 CardBody
    /// </summary>
    [Parameter]
    public RenderFragment ChildContent { get; set; }
    
    /// <summary>
    /// 是否显示
    /// </summary>
    [Parameter]
    public bool IsShow { get; set; }


    protected virtual string ClassName => CssBuilder.Default("").AddClass("none", !IsShow).Build();

}